package com.kuang.oop.demo01;

/**
 * @author wuJiaWei
 * @version 1.0
 * @date 2024/8/10
 * @time 17:22:54
 */
//值传递
public class Demo04 {
    public static void main(String[] args) {
        int a = 1;
        System.out.println(a);

        Demo04.change(a);
        System.out.println(a);
    }

    public static void change(int a){
        a = 10;
    }

}
